package service

// 全局公开对象
var UserExchangeRecord = userExchangeRecordService{}

// 用户物品兑换记录
// 私有对象，所有的方法都绑定到这个结构体上。
type userExchangeRecordService struct{}

func (p *userExchangeRecordService) Create(arg dao.UserExchangeRecord) (int64, error) {
	return 0, nil
}

func (p *userExchangeRecordService) Delete() (int64, error) {
	return 0, nil
}

func (p *userExchangeRecordService) Update(arg dao.UserExchangeRecord) (int64, error) {
	return 0, nil
}

func (p *userExchangeRecordService) Select(id int64) (dao.UserExchangeRecord, error) {
	return dao.UserExchangeRecordDao.SelectTemplate(id)
}
